package com.sdp.wx.db.wx_contract_payment.service.impl;

import com.sdp.wx.db.wx_contract_payment.entity.WxContractPayment;
import com.sdp.wx.db.wx_contract_payment.mapper.WxContractPaymentMapper;
import com.sdp.wx.db.wx_contract_payment.service.IWxContractPaymentService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zsp
 * @since 2024-03-19
 */
@Service
public class WxContractPaymentServiceImpl extends ServiceImpl<WxContractPaymentMapper, WxContractPayment> implements IWxContractPaymentService {

	@Override
	public List<WxContractPayment> queryWxContractPaymentByContractCode(String contractCode) {
		LambdaQueryWrapper<WxContractPayment> queryWrapper = new LambdaQueryWrapper<>();
		queryWrapper.eq(WxContractPayment::getContractCode, contractCode);
		return list(queryWrapper);
	}

	
}
